package sdk.webview.fmc.com.fmcsdk.util;

import retrofit2.http.GET;
import rx.Observable;
import sdk.webview.fmc.com.fmcsdk.base.BaseData;

/**
 * Created by ydm on 2018/7/13.
 */

public class Url {
    public static final String API = "";
//    public static final String API = "/fmc";
//    public static final String API = "/ssaq/fmc";
    public static final String BASE_USER = API+"/uc/mobile/";

    public static final String LOGIN = API+"/uc/login";//登录
    public static final String DAILYLOGINTIME = API+"/uc/user/addLoginHistory";//记录登录时间
    public static final String LOGOUT = API+"/logout";//注销

    public static final String GET_USER_INFO = API+"/uc/user/getUserInfo";//获取用户信息

    public static final String GET_AUTH_INFO = API+"/uc/user/getAuthModuleAndApps";//获取权限

    public static final String GET_DD_LIST = API+"/sys/common/dd/list";//获取多语言的数据字典

    public static final String CHANGE_USER_LANG = API+"/uc/user/changeUserLang";//设置多语言


    public static final String GET_SYS_SETTING = API+"/uc/mobile/sett";

    public static final String MODIFY_USER_INFO = BASE_USER+"modifyUserInfo";//修改个人信息

    public static final String MODIFY_PASSWORD = BASE_USER+"modifyPassword";//修改密码
    public static final String GET_SM2KEY = API+"/uc/rsaData/getRsaPublicKey";

    public static final String GET_MY_TASKNUM = BASE_USER+"getTodoTaskNumber";//获取任务总数

    public static final String GET_MESSAGENUM = API+"/uc/msg/noReadCount";//获取消息数量

    public static final String FEEDBACK = BASE_USER+"feedback";//意见反馈

    public static final String AGREEMENT = API+"/sys/settings/privacyContent";//获取协议

    public static final String JPUSHFLAGOFENV = API+"/sys/settings/jpushFlagOfEnv";//获取极光别名配置

    public static final String CHECKNEWVERSION = BASE_USER+"getNewVersion";//版本检查

    public static final String UPLOAD_FILES_SERVICE = API+"/file/upload/commitToStore";//上传图片到服务器

    public static final String REPLACE_TOSTORE = API+"/file/upload/replaceToStore";//上传头像片到服务器

    public static final String UPLOAD_IMG = API+"/file/upload/uploadArray";//上传图片

    public static final String UPLOAD_VIDEO = API+"/file/upload/uploadVideoFile";//上传视频

    public static final String UPLOAD_CALLBACK = API+"/file/upload/uploadCallBack";//上传图片


    public static final String UPLOAD_LOG = BASE_USER+"/uploadLogs";//上传日志

    public static final String H5_MESSAGE_RECEIPT = API+"/uc/msg/receipt";//消息回执
    public static final String H5_MESSAGE_READ = API+"/uc/msg/read";//消息已读

    public static final String PROFILE_PHOTO = API+"/uc/user/profilePhoto";//获取人物头像

    public static final String XIYOU_ISOPENSETTING = API+"/org/common/isOpenSetting";//西有登录切换

    public static final String SEND_HEARTBEAT = API+"/uc/mobile/heartbeat";//发送心跳接口

    public static final String RECORD_GPS = API+"/uc/staff/recordGps";//发送GPS定位信息
    public static final String GET_PSD_LEVEL = API+"/pa/common/staff/getPwdLevel";
    public static final String GET_PSD_ENFORCED = API+"/pa/common/staff/pwdEnforced";

    //登录状态码
    public static final String TOKEN_ERROR_STATUS = "401";//token失效
    public static final String TOKEN_FORBIDDEN = "403";//token鉴权失败
    public static final String SUCCESS_STATUS = "200";//请求成功
    public static final String ERROR_STATUS = "500";//请求失败
    //添加统一头
    public static final String XMLHTTPREQUEST = "XMLHttpRequest";

    public static final String GETCRCSIZE = BASE_USER+"getCrcSize";//获取CRC值大小

    //插入个人用户协议
    public static final String ADD_STAFF_OPERATIONLOG = API+"/pa/staff/addStaffOperationLog";
        //获取用户协议
    public static final String FIND_LAST_OPERATELOG = API+"/pa/staff/findLastOperateLog";

    //上传设备id
    public static final String UPDATE_DEVICEID = API + "/uc/common/appUniqueNoToRedis";

    //登录之前的接口 企业设置查询(现有接口)
    public static final String SYS_SETTING = API + "/sys/settings/sysSettingsInfo";
    //手机登录发送验证码
    public static final String SENDMESSAGE_LOGIN = API + "/uc/mobile/sendPhoneMessage";
    //重置密码校验手机号验证码
    public static final String CHECK_FW_SMS = API + "/uc/mobile/checkMessage";
    //在登录页面账号密码在登录之前。手机验证码在登录之后进行密码检查，是否要修改密码
    public static final String CHECK_BY_UNAMEPWD = API + "/pa/common/staff/checkByUnamePwd";
    //修改密码页面 修改密码说明 密码复杂度 密码规则提示语
    public static final String KEYDESC = API + "/sys/keyDesc/list/api?type=";
    //修改密码点击确定
    public static final String UPDATE_PWD = API + "/pa/common/staff/updateByUnamePwd";
    //忘记密码页面点发送验证码
    public static final String SENDFORGETPWDSMS = API + "/uc/mobile/sendUserNameMessage";


    //心跳用这个（离线转在线 用这个判断是否访问服务器ok） http://ip/nginxStatus
    public static final String SERVER_NGINXSTATUS = API + "/nginxStatus";

    //离线转在线 获取心跳的最大间隔时间，获取最大组数，获取除数
    public static final String SYS_KEYDESC = API + "/sys/keyDesc/list?type=OFFLINE_FILE_DIVIDE";

    public static final String GET_DETAILS = API+"/insp/mobtask/getdetail";//

    public static final String GET_HISTORY = API+"/insp/mobtask/getoptionhist";//


    public static final String GET_SPSTATUS = API+"/insp/mobtask/spstatus";//

    public static final String GET_OPRIONHIST = API+"/insp/mobtask/getoptionhist";//

    //联系人分组
    public static final String GET_STAFFTEAM_LIST = API+"/insp/common/staffteam/list";//

    //联系人信息
    public static final String GET_WORK_STATUS = API+"/uc/staff/getWorkStatus";

    //获取工作人员
    public static final String GET_WORK_STAFF = API+ "/insp/mobtask/rejecttask/staff";

    //获取转派原因 (像是后台字典)
    public static final String GET_REDEPLOY_REASON = API+ "/sys/common/dd/list";

    //任务转派
    public static final String GET_QUEST_REDEPLOY = API + "/insp/mobtask/transtask";

    //更新某个巡检点的数据
    public static final String POST_UPDATE_POINT = API + "/insp/mobtask/point/update";

    //删除图片
    public static final String POST_DELETE_PIC = API + "/file/upload/disableByIds";

    public static final String GET_MANAGER = API + "/pa/common/staffstructure/getManager";

    public static final String GET_UNCHECK_POINT = API + "/insp/mobtask/getuncheckpoint";

    public static final String GET_CHECK_COMPLETE = API + "/insp/mobtask/complete";


    public static final String GET_RUN_LIST_PAGE = API+"/asset/h5/run/listpage";//

    public static final String GET_REPORT_STATUS = API+"/insp/mobtask/point/reportstatus";//


    public static final String GET_SELECT_ORDER_ID_ORDER_POINT = API + "/insp/plan/selectOrderIdOrderPoint";

    public static final String POST_SUBMIT_ACCEPTANCE = API + "/insp/mobtask/submitAcceptance";

    public static final String GET_UC_WF_TASK_DETAIL = API + "/uc/wf/task/detail";

    public static final String GET_UC_WF_ENTITY_DETAIL = API + "/uc/wf/getWfEntityDetail";

    public static final String GET_UC_WF_getApprovalFullLog = API + "/uc/wf/getApprovalFullLog";

    //获取汇报停机的数据
    public static final String GET_OPERATE_REPORTSAS_LIST = API + "/asset/common/operate/reportsas/list";


}